package com.joinway.${mapperModuleName}.mapper;

#foreach($i in $imports)
import $i;
#end
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.joinway.${domainModuleName}.bean.domain.${DomainName};

@Repository
public interface ${DomainName}Mapper {
	
#set($at="@")
	List<${DomainName}> select${DomainName}(#foreach($field in $fields)#if(${field.type}=="Date")#if(${field.condition}=="like")@Param("from${field.uname}") String from${field.uname}, @Param("to${field.uname}") String to${field.uname}#else${at}Param("${field.name}") String ${field.name}#end#else${at}Param("${field.name}") ${field.type} ${field.name}#end#if($velocityCount!=$fields.size()), #end#end);
	
}
